package com.ssy.lingxi.platform.template.api.model.dto.inner;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 更新店铺状态 - DTO
 * @author fhj
 * @date 2020/12/28
 * @version 2.0.0
 */
@Data
public class UpdateShopStatusDTO {

    @ApiModelProperty(value = "会员ID")
    private Long memberId;

    @NotNull(message = "角色ID不能为空")
    @ApiModelProperty(value = "角色ID")
    private Long roleId;

    @NotNull(message = "状态不能为空")
    @ApiModelProperty(value = "状态：0-冻结 1-正常")
    private Integer status;
}
